home *** CD-ROM | disk | FTP | other *** search
Text File | 1994-11-11 | 2.0 KB | 67 lines | [TEXT/MPS ] |
- ;
- ; File: ENET.a
- ;
- ; Copyright: © 1984-1994 by Apple Computer, Inc.
- ; All rights reserved.
- ;
- ; Version: Universal Interfaces 2.0a3 ETO #16, MPW prerelease. Friday, November 11, 1994.
- ;
- ; Bugs?: If you find a problem with this file, send the file and version
- ; information (from above) and the problem description to:
- ;
- ; Internet: apple.bugs@applelink.apple.com
- ; AppleLink: APPLE.BUGS
- ;
- ;
-
- IF &TYPE('__ENET__') = 'UNDEFINED' THEN
- __ENET__ SET 1
-
-
- IF &TYPE('__TYPES__') = 'UNDEFINED' THEN
- include 'Types.a'
- ENDIF
- ; include 'ConditionalMacros.a' ;
-
- IF &TYPE('__OSUTILS__') = 'UNDEFINED' THEN
- include 'OSUtils.a'
- ENDIF
- ; include 'MixedMode.a' ;
- ; include 'Memory.a' ;
-
- ENetSetGeneral EQU 253 ;Set "general" mode
- ENetGetInfo EQU 252 ;Get info
- ENetRdCancel EQU 251 ;Cancel read
- ENetRead EQU 250 ;Read
- ENetWrite EQU 249 ;Write
- ENetDetachPH EQU 248 ;Detach protocol handler
- ENetAttachPH EQU 247 ;Attach protocol handler
- ENetAddMulti EQU 246 ;Add a multicast address
- ENetDelMulti EQU 245 ;Delete a multicast address
- EAddrRType EQU 'eadr'
-
- EParamBlock RECORD 0
- qLink ds.l 1 ;General EParams
- qType ds.w 1 ;queue type
- ioTrap ds.w 1 ;routine trap
- ioCmdAddr ds.l 1 ;routine address
- ioCompletion ds.l 1 ;completion routine
- ioResult ds.w 1 ;result code
- ioNamePtr ds.l 1 ;->filename
- ioVRefNum ds.w 1 ;volume reference or drive number
- ioRefNum ds.w 1 ;driver reference number
- csCode ds.w 1 ;Call command code
- VariantLevel0Begin EQU *
- eProtType ds.w 1 ;Ethernet protocol type
- ePointer ds.l 1 ;No support for PowerPC code
- eBuffSize ds.w 1 ;buffer size
- eDataSize ds.w 1 ;number of bytes read
-
- ORG VariantLevel0Begin
- eMultiAddr ds.b 6 ;Multicast Address
-
- sizeof EQU 38
- ENDR
-
- ENDIF ; __ENET__
-